﻿using LPLS.DBEntities.ConfigModels.DeviceInfoModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataStatisticsChartModule
{
    public static  class DataStatisticsEvent
    {

        public static event Action<DataStatisticsEventModel> OnDataStatisticsEvent;




        public static void RaiseDataStatisticsEvent(DataStatisticsEventModel model)
        {
            OnDataStatisticsEvent?.Invoke(model);
        }


    }




    public class DataStatisticsEventModel 
    { 
      public DeviceBaseInfo DeviceModel { get; set; }

        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }


    }
}
